package com.kevis.zhunblog.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kevis.zhunblog.core.dto.PageDomain;
import com.kevis.zhunblog.core.dto.query.CommonClassQuery;
import com.kevis.zhunblog.core.dto.query.CommonInfoQuery;
import com.kevis.zhunblog.core.entities.ArticleEntity;
import com.kevis.zhunblog.core.entities.ClassArticleEntity;

/**
 *
 */
public interface ArticleService extends IService<ArticleEntity> {
    PageInfo<ArticleEntity> getPageList(CommonInfoQuery query, PageDomain pageDomain);

    IPage<ArticleEntity> getPageList(CommonInfoQuery query, Page<ArticleEntity> page);
}
